/*------------------------------------------------------------------------------
 * PROJ : Prototype
 * NAME : sculove.spring.zzz.admin.controller.AdminController.java
 *        
 * Copyright 2009 sculove All rights reserved
 *------------------------------------------------------------------------------
*/
package sculove.spring.zzz.admin.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import sculove.spring.framework.common.AbstractController;
import sculove.spring.framework.util.Configuration;




/**
 * <pre>
 * sculove.spring.zzz.admin.controller.AdminController.java
 * TODO
 * 
 * </pre>
 * @date : 2009. 12. 2. 오후 3:01:58
 * @version :
 * @author : sculove
 */
@Controller
public class AdminController extends AbstractController {
	@RequestMapping("/zzz.refreshConfig.htm")
	public ModelAndView refreshConfig(HttpServletRequest request, HttpServletResponse response) throws Exception {
		Configuration.refreshXml();
		Configuration.refreshProp();
		return new ModelAndView("jsonview", null); 
	}
}
